package com.danjinwulian.common.enums;

public enum RequestMethodEnum {
    /** get*/
    GET(1,"GET"),
    /** post*/
    POST(2,"POST");

    private final Integer code;
    private final String desc;

    RequestMethodEnum(Integer id, String name){
        this.code = id;
        this.desc = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
